]> dgit.raspbian.org Git - gnome-shell.git/commit
Change all g_memdup() to g_memdup2()
authorJonas Ådahl <jadahl@gmail.com>
Thu, 4 Feb 2021 17:56:02 +0000 (18:56 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 4 Feb 2021 19:17:04 +0000 (20:17 +0100)
commit463000d04d51ff7f29b039d5ea97a7b36fdd7b57
treea80a2a1d8cc3188ebdbef9bc5b4c5e478c2a0d1a
parent96d66def8c004d6a052534af1681d25ccd3fd760
Change all g_memdup() to g_memdup2()

Using g_memdup() is dangerous due to the type of the size argument. See
https://gitlab.gnome.org/GNOME/glib/-/issues/2319 and
https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1926 for details.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1637>
.gitlab-ci.yml
src/st/st-private.c